Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change min Flow version to be ^0.7 to match recent release #1014

Closed
wants to merge 1 commit into from

Conversation

stloyd
Copy link
Member

@stloyd stloyd commented Mar 14, 2024

Change Log

Added

Fixed

Changed

  • Change min Flow version to be ^0.7 to match recent release

Removed

Deprecated

Security


Description

Related to #1011

Copy link
Contributor

Flow PHP - Benchmarks

Results of the benchmarks from this PR are compared with the results from 1.x branch.

Extractors
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
| benchmark             | subject           | revs | its | mem_peak         | mode             | rstdev          |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
| AvroExtractorBench    | bench_extract_10k | 1    | 3   | 35.279mb +0.00%  | 828.941ms +1.42% | ±0.22% -6.93%   |
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 5.002mb +0.00%   | 339.926ms -0.44% | ±0.39% +119.45% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 5.152mb +0.00%   | 1.038s -0.59%    | ±1.82% +65.45%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 135.823mb +0.00% | 892.872ms -1.44% | ±1.42% -48.63%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.909mb +0.00%   | 35.439ms -0.44%  | ±0.24% -67.96%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.915mb +0.00%   | 438.545ms +3.03% | ±1.08% +9.31%   |
+-----------------------+-------------------+------+-----+------------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 110.615mb +0.00% | 63.327ms -4.71% | ±0.54% -74.41% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| AvroLoaderBench    | bench_load_10k | 1    | 3   | 95.659mb +0.00%  | 459.496ms -1.56% | ±0.69% -45.77%  |
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 54.141mb +0.00%  | 72.609ms +2.85%  | ±0.84% +124.08% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 106.566mb +0.00% | 52.541ms +0.99%  | ±0.40% -41.06%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 224.386mb +0.00% | 1.426s +0.19%    | ±1.27% -10.15%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.956mb +0.00%  | 40.073ms +1.51%  | ±1.13% +188.61% |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark               | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| RowsBench               | bench_chunk_10_on_10k      | 2    | 3   | 76.682mb +0.00%  | 3.334ms -9.46%   | ±3.43% +159.88% |
| RowsBench               | bench_diff_left_1k_on_10k  | 2    | 3   | 96.409mb +0.00%  | 180.060ms -4.22% | ±0.38% +17.96%  |
| RowsBench               | bench_diff_right_1k_on_10k | 2    | 3   | 74.935mb +0.00%  | 18.197ms -2.45%  | ±0.07% -63.01%  |
| RowsBench               | bench_drop_1k_on_10k       | 2    | 3   | 77.922mb +0.00%  | 1.713ms -3.90%   | ±0.48% -82.92%  |
| RowsBench               | bench_drop_right_1k_on_10k | 2    | 3   | 77.922mb +0.00%  | 1.690ms -4.61%   | ±0.11% -96.67%  |
| RowsBench               | bench_entries_on_10k       | 2    | 3   | 75.034mb +0.00%  | 2.592ms -8.84%   | ±0.53% -79.42%  |
| RowsBench               | bench_filter_on_10k        | 2    | 3   | 75.563mb +0.00%  | 14.665ms -10.26% | ±3.25% +762.89% |
| RowsBench               | bench_find_on_10k          | 2    | 3   | 75.563mb +0.00%  | 14.939ms -8.47%  | ±1.13% -49.82%  |
| RowsBench               | bench_find_one_on_10k      | 10   | 3   | 73.467mb +0.00%  | 1.694μs -11.13%  | ±2.83% +16.00%  |
| RowsBench               | bench_first_on_10k         | 10   | 3   | 73.467mb +0.00%  | 0.300μs -25.00%  | ±0.00% -100.00% |
| RowsBench               | bench_flat_map_on_1k       | 2    | 3   | 87.022mb +0.00%  | 13.454ms -6.22%  | ±2.67% +115.68% |
| RowsBench               | bench_map_on_10k           | 2    | 3   | 116.382mb +0.00% | 64.953ms -4.92%  | ±0.53% +586.86% |
| RowsBench               | bench_merge_1k_on_10k      | 2    | 3   | 76.083mb +0.00%  | 1.561ms +14.19%  | ±2.92% +53.69%  |
| RowsBench               | bench_partition_by_on_10k  | 2    | 3   | 79.430mb +0.00%  | 58.007ms -5.90%  | ±0.26% -57.64%  |
| RowsBench               | bench_remove_on_10k        | 2    | 3   | 78.184mb +0.00%  | 3.833ms -7.13%   | ±0.32% -90.06%  |
| RowsBench               | bench_sort_asc_on_1k       | 2    | 3   | 73.545mb +0.00%  | 40.707ms -1.61%  | ±0.64% -59.31%  |
| RowsBench               | bench_sort_by_on_1k        | 2    | 3   | 73.546mb +0.00%  | 41.874ms -0.08%  | ±0.48% -83.71%  |
| RowsBench               | bench_sort_desc_on_1k      | 2    | 3   | 73.545mb +0.00%  | 41.182ms -0.88%  | ±2.07% +70.53%  |
| RowsBench               | bench_sort_entries_on_1k   | 2    | 3   | 75.909mb +0.00%  | 7.464ms -1.47%   | ±0.25% -81.79%  |
| RowsBench               | bench_sort_on_1k           | 2    | 3   | 73.467mb +0.00%  | 29.568ms +1.52%  | ±0.75% -44.93%  |
| RowsBench               | bench_take_1k_on_10k       | 10   | 3   | 73.467mb +0.00%  | 13.817μs +1.55%  | ±1.58% +356.03% |
| RowsBench               | bench_take_right_1k_on_10k | 10   | 3   | 73.467mb +0.00%  | 16.712μs +1.90%  | ±1.58% +0.00%   |
| RowsBench               | bench_unique_on_1k         | 2    | 3   | 96.476mb +0.00%  | 187.739ms -1.79% | ±0.71% +0.77%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 116.714mb +0.00% | 496.644ms -1.66% | ±1.60% +94.57%  |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 60.192mb +0.00%  | 248.260ms +0.79% | ±1.18% +1.03%   |
| NativeEntryFactoryBench | bench_entry_factory        | 1    | 3   | 15.127mb +0.00%  | 52.832ms -2.49%  | ±0.79% +3.72%   |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 59.958mb +0.00%  | 435.751ms -0.40% | ±0.25% -71.94%  |
| TypeDetectorBench       | bench_type_detector        | 1    | 3   | 14.497mb +0.00%  | 85.321ms -2.27%  | ±0.22% -87.53%  |
+-------------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech
Copy link
Member

Covered by #1015 with other dependencies updated

@stloyd stloyd deleted the update-min-flow-version branch March 18, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment